package com.arui.service.impl;

import com.arui.domain.AruioRole;
import com.arui.mapper.AruioRoleMapper;
import com.arui.service.AruioRoleService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description 角色服务实现层
 * @Date 2024/8/27 15:05
 * @Created by 10574
 */
@Service
@RequiredArgsConstructor
public class AruioRoleServiceImpl implements AruioRoleService {
    private final AruioRoleMapper aruioRoleMapper;
    @Override
    public List<AruioRole> findRoleListByUserId(Integer id) {
        return aruioRoleMapper.findRoleListByUserId(id);
    }
}
